@echo off

:: -------------------------------------------------------------
::  init command line script for Windows.
::  This is the bootstrap script for running init on Windows.
:: -------------------------------------------------------------

@setlocal

::current dir path
set BASE_PATH=%~dp0

if "%PHP_CMD%" == "" set PHP_CMD=php.exe

:: 执行PHP脚本文件 init
"%PHP_CMD%" "%BASE_PATH%gen" %*
::pause

@endlocal